package com.czk.springboot.reactive.reactor.mono;

import reactor.core.publisher.Mono;

/**
 * mono 0|1 个元素
 */
public class MonoDemo {

    public static void main(String[] args) {

        // 只有一个interger
        Mono<Integer> mono = Mono.just(1);


        mono.subscribe(System.out::println);
    }

}
